home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / util / rexx / savetime.lha / savetime.readme < prev   
Text File  |  1997-02-18  |  2KB  |  60 lines

  1. Short:    1.0 - Miami script to save the ntp time
  2. Author:   geohei@ibm.net (Georges Heinesch)
  3. Uploader: geohei@ibm.net (Georges Heinesch)
  4. Type:     util/rexx
  5. Version:  1.0 (18 Feb 1997)
  6. Requires: Miami 1.1 or better
  7.  
  8.  
  9.  
  10. $VER: savetime.miami 1.0 (18 Feb 1997)
  11.  
  12. savetime.miami for Miami 1.1 or better
  13. © Georges Heinesch <geohei@ibm.net>, Luxembourg
  14.   http://www.geocities.com/yosemite/2480
  15.   PGP 2.6.3i public key available on request and on public servers
  16.  
  17.  
  18.  
  19. This script should be used when requesting the correct  time  from  an  ntp
  20. server  (time  server).  If an ntp server is queried, it updates the system
  21. time. This script saves this updated time to the battery clock of the Amiga
  22. and optionally creates a logfile to keep track of the correction applied to
  23. the system time.
  24.  
  25. To  get  an  address  from  an  adequate  ntp  server,  have  a   look   at
  26. 'http://www.cis.udel.edu/~mills/ntp/servers.html'.  Choose  one  and insert
  27. the address into the relevant string  gadget  (bottom  of  'TCP/IP'  page).
  28. Don't forget to activate the 'Get Time' switch.
  29.  
  30. Then enter the path/name of this script  (e.g.  ARexx/savetime.miami)  into
  31. the  'Online' string gadget ('Events' page). This starts the script as soon
  32. as the ntp server transmitted the time information.
  33.  
  34. Optionally,  the  corrections  applied  to  the  current system time can be
  35. logged to a file. If this is desired, set  the  'log'  variable  to  'true'
  36. (default  is  'true')  and  enter the path/name of the log file (default is
  37. 'Miami_Time.log').
  38.  
  39. Example of a log file:
  40.  
  41. Date          old time  ntp time  error
  42. ---------     --------  --------  ---------
  43. 02-Feb-97     19:05:34  19:05:35  -00:00:01
  44. 02-Feb-97     19:08:54  19:08:55  -00:00:01
  45. 02-Feb-97     19:16:06  19:16:06  -00:00:02
  46. 02-Feb-97     19:19:29  19:19:29  -00:00:02
  47. 02-Feb-97     19:20:49  19:20:49  -00:00:02
  48.  
  49. The variable 'secdelta' takes system speed into account and has to  be  set
  50. accordingly.  Fast  systems  use  1 (68060), slow system 2 or 3 (68020). To
  51. find the correct value, run the script a  couple  of  times  with  the  log
  52. option  enabled and analyse the log file. The average of the time errors is
  53. the value to enter here (in seconds).
  54.  
  55.  
  56.  
  57. $HISTORY:
  58.  
  59. 18 Feb 1997 : 1.0  : First release.
  60.